using System;
using UnityEngine;
using UnityEngine.Purchasing;

namespace Voodoo.Sauce.Internal.IAP
{
	[Serializable]
	public class ProductDescriptor
	{
		[Tooltip("The product identifier, as entered in stores. Usually of the form com.companyname.iap.productname")]
		[SerializeField]
		private string _productId;

		//[SerializeField]
		//private ProductType _type;

		[Tooltip("The real price the user is paying in USD (eg: 2.99 if the user pays 2.99$ for the product)")]
		[SerializeField]
		private float _priceInUSD;

		public string ProductId => _productId;

		//public ProductType Type => _type;

		public float PriceInUSD => _priceInUSD;

		//public ProductDescriptor(string productId, ProductType type, float priceInUsd)
		//{
		//	_productId = productId;
		//	_type = type;
		//	_priceInUSD = priceInUsd;
		//}
	}
}
